/***************** Modification History ***********************************
   @doc
   @module FCT.h - Host Definition Table Header file |
   @end
   
$Log: /SoftPay/SPK2SIM/Source/CONTROL/fct.h $ 
 * 
 * 4     11/02/99 1:22p Monique_b1
 * Added parameter to inProcessFCT 
 * 
 * 3     10/04/99 4:19p Monique_b1
 * 
 * 2     10/01/99 5:35p Chris_s1
 * Changes for FCT maintenance and processing...
 * 
 * Change headers and file names for SP 2000
**************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/
#ifndef FCT_H
#define FCT_H

#define RECORD_TITLE_SIZE 20
#define MAX_FUNCTIONS 10

typedef struct TagFCT_REC
{
	char	    szRecordTitle[RECORD_TITLE_SIZE + 1];
	short       shDisabled;            	    /* 0 - No, 1 - Yes */
	int			inFunctionId[MAX_FUNCTIONS];
} FCT_REC;

#define SIZE_FCT_REC   sizeof(FCT_REC)      /* 16bit = 42 bytes
                                               32bit = 64 bytes */
extern const char *szGlobalFCTFileName;

#ifndef FCT_C
extern int inProcessFCT(void *pobTran);
#else
int inProcessFCT(TRANSACTION_OBJECT *pobTran);
#endif

#endif

